<?php

namespace IDock\Insurance\CHAC\Response;

use IDock\Http\Response;
use IDock\Insurance\CHAC\Request\HNCEPolicyDownloadRequest;
use IDock\Printer\EPolicyDownloadPrinter;

class HNCEPolicyDownloadResponse extends AllCHACResponse
{

    /*** @var EPolicyDownloadPrinter $printer */
    public $printer = EPolicyDownloadPrinter::class;

    /*** @var HNCEPolicyDownloadRequest  $request */
    public $request;

    public $ncUrl;

    public function printerInit(): Response
    {
        $this->ncUrl = $this->request->build();

        return $this;
    }
}
